import request from '@/utils/request'

// 查询邮件配置列表
export function emailConfig(query) {
  return request({
    url: '/system/EmailConfig/get',
    method: 'get',
    params: query
  })
}


// 保存邮件配置
export function sageEmailConfig(data) {
  return request({
    url: '/system/EmailConfig/save',
    method: 'post',
    data: data,
  })
}
